extends "../talin-2/talin-2.gd"


func _extInit():
	._extInit()
	lv = 3             #等级的设置
	addSkill("<亡语>自身及心智分身阵亡时，对周围2格的敌人造成[自身血上限*0.5]的技能伤害", "自毁协议")
var p3 = 1
func deathWord():
	.deathWord()
	for i in getCellChas(cell, 2, 1):
		if not isSumm:
			azurHurtChara(i, att.maxHp*1, sys.HurtType.WEAPON, sys.AtkType.SKILL, "自毁协议", false, p3)
		else:
			azurHurtChara(i, att.maxHp*0.5, sys.HurtType.WEAPON, sys.AtkType.SKILL, "自毁协议", false, p3)